package com.ktgj.customer.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 预留款返现申请
对象 deposit_refundcash
 * 
 * @author ruoyi
 * @date 2021-07-27*/
public class DepositRefundcash extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 返现申请Id*/
    private Long refundcashId;

    /** 交易流水号*/
    @Excel(name = "交易流水号")
    private String transactionno;

    /** 微信openid*/
    @Excel(name = "微信openid")
    private String openid;

    /** 客户基本信息ID*/
    @Excel(name = "客户基本信息ID")
    private Long customerId;

    /** 持卡人姓名*/
    @Excel(name = "持卡人姓名")
    private String cardower;

    /** 开户行*/
    @Excel(name = "开户行")
    private Long bankId;

    /** 银行卡号*/
    @Excel(name = "银行卡号")
    private String cardnumber;

    /** 返现金额*/
    @Excel(name = "返现金额")
    private BigDecimal amount;

    /** 状态(1 未返现, 2 己返现)*/
    @Excel(name = "状态(1 未返现, 2 己返现)")
    private Long state;

    /** 审核状态(申请 = 1, 待返现 = 2, 完成 = 3, 失败 = 4,  取消 = 5)"申请 = 1,
                  待返现 = 2,
                  再次提交 = 3,
                  完成 = 4,
                  失败 = 5,
                  取消 = 6" */
    @Excel(name = "审核状态(申请 = 1, 待返现 = 2, 完成 = 3, 失败 = 4,  取消 = 5)申请 = 1,待返现 = 2,再次提交 = 3,完成 = 4,失败 = 5,取消 = 6")
    private Long auditstate;

    /** 失败原因*/
    @Excel(name = "失败原因")
    private Long failreason;

    /** 省*/
    @Excel(name = "省")
    private String provinceName;

    /** 市*/
    @Excel(name = "市")
    private String cityName;

    /** 开户名*/
    @Excel(name = "开户名")
    private String bankcardname;

    /** 锁定id*/
    @Excel(name = "锁定id")
    private Long lockId;

    /** 完成时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date complettime;

    /** 完成操作员id*/
    @Excel(name = "完成操作员id")
    private Long completeemployeeId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createtime;

    /** 创建操作员id*/
    @Excel(name = "创建操作员id")
    private Long createemployeeId;

    /** 操作操作员ID */
    @Excel(name = "操作操作员ID")
    private Long operationEmployeeid;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date opeationtime;

    public void setRefundcashId(Long refundcashId) 
    {
        this.refundcashId = refundcashId;
    }

    public Long getRefundcashId() 
    {
        return refundcashId;
    }
    public void setTransactionno(String transactionno) 
    {
        this.transactionno = transactionno;
    }

    public String getTransactionno() 
    {
        return transactionno;
    }
    public void setOpenid(String openid) 
    {
        this.openid = openid;
    }

    public String getOpenid() 
    {
        return openid;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setCardower(String cardower) 
    {
        this.cardower = cardower;
    }

    public String getCardower() 
    {
        return cardower;
    }
    public void setBankId(Long bankId) 
    {
        this.bankId = bankId;
    }

    public Long getBankId() 
    {
        return bankId;
    }
    public void setCardnumber(String cardnumber) 
    {
        this.cardnumber = cardnumber;
    }

    public String getCardnumber() 
    {
        return cardnumber;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setAuditstate(Long auditstate) 
    {
        this.auditstate = auditstate;
    }

    public Long getAuditstate() 
    {
        return auditstate;
    }
    public void setFailreason(Long failreason) 
    {
        this.failreason = failreason;
    }

    public Long getFailreason() 
    {
        return failreason;
    }
    public void setProvinceName(String provinceName) 
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName() 
    {
        return provinceName;
    }
    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }
    public void setBankcardname(String bankcardname) 
    {
        this.bankcardname = bankcardname;
    }

    public String getBankcardname() 
    {
        return bankcardname;
    }
    public void setLockId(Long lockId) 
    {
        this.lockId = lockId;
    }

    public Long getLockId() 
    {
        return lockId;
    }
    public void setComplettime(Date complettime) 
    {
        this.complettime = complettime;
    }

    public Date getComplettime() 
    {
        return complettime;
    }
    public void setCompleteemployeeId(Long completeemployeeId) 
    {
        this.completeemployeeId = completeemployeeId;
    }

    public Long getCompleteemployeeId() 
    {
        return completeemployeeId;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public void setCreateemployeeId(Long createemployeeId)
    {
        this.createemployeeId = createemployeeId;
    }

    public Long getCreateemployeeId() 
    {
        return createemployeeId;
    }
    public void setOperationEmployeeid(Long operationEmployeeid) 
    {
        this.operationEmployeeid = operationEmployeeid;
    }

    public Long getOperationEmployeeid() 
    {
        return operationEmployeeid;
    }
    public void setOpeationtime(Date opeationtime) 
    {
        this.opeationtime = opeationtime;
    }

    public Date getOpeationtime() 
    {
        return opeationtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("refundcashId", getRefundcashId())
            .append("transactionno", getTransactionno())
            .append("openid", getOpenid())
            .append("customerId", getCustomerId())
            .append("cardower", getCardower())
            .append("bankId", getBankId())
            .append("cardnumber", getCardnumber())
            .append("amount", getAmount())
            .append("state", getState())
            .append("auditstate", getAuditstate())
            .append("remark", getRemark())
            .append("failreason", getFailreason())
            .append("provinceName", getProvinceName())
            .append("cityName", getCityName())
            .append("bankcardname", getBankcardname())
            .append("lockId", getLockId())
            .append("createTime", getCreateTime())
            .append("complettime", getComplettime())
            .append("completeemployeeId", getCompleteemployeeId())
            .append("createtime", getCreatetime())
            .append("createemployeeId", getCreateemployeeId())
            .append("operationEmployeeid", getOperationEmployeeid())
            .append("opeationtime", getOpeationtime())
            .toString();
    }
}
